package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.TxfkDescBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface TxfkDescService extends BaseService<TxfkDescBean> {

	TxfkDescBean getTxfkDescBeanById(String id) throws Exception;
	
	void removeTxfkDescBeanById(String id) throws Exception;
	
	void removeTxfkDescBeanByIds(String ids) throws Exception;
	
	TxfkDescBean saveTxfkDescBean(TxfkDescBean crm) throws Exception;
	
	TxfkDescBean updateTxfkDescBean(TxfkDescBean crm) throws Exception;
	
	Page<TxfkDescBean>  findTxfkDescBeanByCond(TxfkDescBean bean,
			Page<TxfkDescBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveTxfkDescBeanExt(String sql) throws Exception;

	String findTxfkDescBeanExtCreate(String tableName) throws Exception;

	String findTxfkDescBeanExtEdit(String tableName, String id)
			throws Exception;

	String findTxfkDescBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasTxfkDescBeanExtData(String tableName, String id)
			throws Exception;
}